

#ifndef _SHELL_REQACCEPTORREFUSE_MESSAGE_H_
#define _SHELL_REQACCEPTORREFUSE_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqAcceptOrRefuseMessage : public Message
{
	public:
	ReqAcceptOrRefuseMessage();
	~ReqAcceptOrRefuseMessage();
	void reset();
	ReqAcceptOrRefuseMessage* clone();
	static const int _ID;
	//0拒绝1接受
	int8 type;
	//消息记录id
	int64 recordId;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
